﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace HamcoWcs.DAL.Migrations
{
    public partial class A12 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "FPriority",
                table: "node_info",
                type: "int",
                nullable: false,
                defaultValue: 0,
                comment: "起始地优先级增益");

            migrationBuilder.AddColumn<int>(
                name: "TPriority",
                table: "node_info",
                type: "int",
                nullable: false,
                defaultValue: 0,
                comment: "目的地优先级增益");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "FPriority",
                table: "node_info");

            migrationBuilder.DropColumn(
                name: "TPriority",
                table: "node_info");
        }
    }
}
